import app from '@/app'

// 插件创建路由方法
export default children => {
  app.route.add({
    path: '/plugin',
    component: () => import('./main.vue'),
    children: [ children ]
  })
}
